/* ===================== VARIABLES ===================== */
:root {
  --main-color: #1126df;
  --secondary-color: #58e218;
  --text-dark: #0e35e0;
  --text-light: #db39c0;
  --border-gradient: linear-gradient(45deg, #c0a321, #d60e61, #5eea5e);
  --shadow: 0 6px 24px rgba(18,19,15,0.4);
  --gold: #d4af37;
  --gold-dark: #b89029;
  font-family: "Poppins", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: linear-gradient(180deg, #f6fa08, #c6f810);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: #111;
}

/* ===== Animated Border ===== */
body::before {
  position: fixed;
}

/* ================= HERO SLIDER ================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.12), transparent 15%), linear-gradient(180deg, rgba(0,0,0,0.05), rgba(255,255,255,0.03));
}

.hero-overlay {
  position: absolute; inset:0; background: rgba(0, 0, 0, 0.55); z-index:-1; background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.45));
}

.hero-text {
  position: relative; z-index:3; color:white;
  max-width: 900px; padding: 20px;
}

.hero-text h1 { font-size: 3.6rem; font-family: 'Cinzel Decorative'; margin-bottom: 15px; text-shadow: 0 6px 24px rgba(0,0,0,0.6); }
.hero-text p { font-size: 1.25rem; opacity:0.95; margin-bottom: 1rem; }
.hero-cta { display:flex; gap: .8rem; align-items:center; margin-top: 12px; justify-content: center; flex-wrap: wrap;}

.hero-btn {
  padding: 14px 34px;
  border-radius: 40px;
  border:none; 
  cursor:pointer;
  font-weight:700; font-size:1.05rem;
  background: linear-gradient(45deg, #ff3d00, #ff9100, #ffd600, #00e676, #00b0ff, #d500f9);
  background-size: 400%;
  color: blue;
  animation: colorMove 6s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* ================= HOVER / CLICK ================= */
.hero-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.35);
}

.hero-btn:active {
  transform: scale(0.97);
}

@keyframes colorMove { 0% {background-position:0% 0%} 50% {background-position:100% 0%} 100% {background-position:0% 0%} }

/* MODAL BACKGROUND */
.service-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
  z-index: 9999;
}

.service-modal.active {
  opacity: 1;
  visibility: visible;
}

/* MODAL BOX */
.service-modal-content {
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,0.95);
  border-radius: 18px;
  padding: 32px;
  position: relative;
  animation: popup 0.4s ease;
}

@keyframes popup {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* CLOSE */
.close-btn {
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 24px;
  cursor: pointer;
}

/* TEXT */
.company-name {
  text-align: center;
  font-size: 14px;
  letter-spacing: 1px;
  color: #555;
  margin-bottom: 6px;
}

.service-modal-content h2 {
  text-align: center;
  margin-bottom: 24px;
  color: #003c8f;
}

/* FORM */
.service-form input,
.service-form select {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.service-form input:focus,
.service-form select:focus {
  outline: none;
  border-color: #0b63f6;
}

/* Video */
.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -2;
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {
  .hero-btn {
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
  }
}

/* ================= SERVICES ================= */
.services {
  padding: 70px 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent);
  display: block;  
}

.services h2 {
  display: block;
  width: 100%;
  margin: 0 auto 40px auto;   /* space BELOW heading */
  text-align: center;
  font-size: 3rem;
  color: #003366;
  font-family: 'Cinzel Decorative';
}

/* ================= SERVICE BOXES ================= */
.service-boxes {
  margin-top: 40px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));                             /* EVEN GAP */
  width: 100%;
  max-width: 1600px;                     /* optional */
  margin: 0 auto;    
}

.box {
  background: #fff;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-bottom: 6px solid #0099ff;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.box:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.box img {
  width: 300px;
  height: 150px;
  object-fit: contain;
  border-radius: 12px;
  margin: 0 auto 12px;
  display: block;        /* IMPORTANT */
}

.box h3 {
  margin-top: 8px;
  font-size: 2rem;
  color: #003399;
  transition: transform 0.4s ease, color 0.4s ease;
}

.box:hover h3 {
  transform: translateY(-6px);
  color: #0099ff;
}

.box p {
  margin-top: 8px;
  color: #333;
  font-size: 1.4rem;
}

/* ================= MOBILE BOX ALIGNMENT ================= */
@media (max-width: 768px) {
  .services {
    padding: 50px 20px;
  }
  .service-boxes {
    grid-template-columns: 1fr; /* one box per row */
  }
  .box {
    width: 150%;
    max-width: 500px;
  }
}

/* ================= POPUP OVERLAY ================= */
.service-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* ================= POPUP BOX ================= */
.service-popup-box {
  background: #ffffff;
  width: 90%;
  max-width: 950px;
  max-height: 90vh;
  padding: 25px;
  border-radius: 18px;
  text-align: center;
  position: relative;
  overflow-y: auto;
  animation: popupShow 0.35s ease;
}

/* ================= MOBILE FULL SCREEN POPUP ================= */
@media (max-width: 768px) {
  .service-popup-box {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    padding: 20px;
  }
}

/* ================= POPUP ANIMATION ================= */
@keyframes popupShow {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ================= CLOSE BUTTON ================= */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-weight: bold;
  color: #333;
  background: aqua;
  border-radius: 70%;
  font-size: 40px;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.25s ease, background 0.25s ease;
}

.close-btn:hover {
  background: #ff3b3b;
  color: #fff;
  transform: rotate(90deg);
}

/* ================= POPUP CONTENT ================= */
.service-popup-box img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
  transform: scale(0.96);
  opacity: 0;
  animation: imgReveal 0.6s ease forwards;
}

@keyframes imgReveal {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-company-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(76, 5, 207, 0.815);
}

.popup-company-header img {
  width: 55px;
  height: auto;
}

.company-text h2 {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 700;
  color: darkblue;
  font-family:'Cinzel Decorative', serif;
}

.company-text span {
  font-size: 0.85rem;
  color: #666;
}

.service-popup-box h3 {
  margin-bottom: 10px;
  font-size: 30px;
  color: blue;
  font-weight: bold;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.service-popup-box p {
  font-size:25px;
  color:rgb(65, 65, 187);
  font-weight: bold;
}

.service-popup-box ul {
  text-align: left;
  margin: 20px 0;
  padding: 0;
}

.service-popup-box li {
  margin: 8px 0;
  list-style: none;
  display: flex;
  align-items: center;
  font-size: 20px;
}

/* ================= BULLET ICON ================= */
.service-popup-box li::before {
  content: "✔";
  font-weight: bold;
  color: green;
  margin-right: 10px;
}

/* ================= BOOK BUTTON ================= */
.book-btn {
  margin-top: 20px;
  padding: 12px 22px;
  background: #007bff;
  border: none;
  color: #ffffff;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.book-btn:hover {
  background: #004fcc;
}

/* ===================================================
   BOOK YOUR SERVICE POPUP (DISPLAY STYLES)
   =================================================== */

/* --- POPUP OVERLAY --- */
.booking-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dimmed background overlay */
  backdrop-filter: blur(5px);     /* Glassmorphism blur effect */
  display: none;                  /* Handled explicitly via JS display toggle */
  justify-content: center;
  align-items: center;
  z-index: 10000;                 /* Higher stacking order than services overlay */
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Active Class State */
.booking-popup-overlay.active {
  display: flex;
  opacity: 1;
}

/* --- POPUP CONTENT CARD --- */
.booking-popup-content {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(-50px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
}

/* Animate content card down when active class is present */
.booking-popup-overlay.active .booking-popup-content {
  transform: translateY(0);
}

/* --- CLOSE BUTTON --- */
.booking-popup-content .close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #666;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s ease, transform 0.2s ease;
}

.booking-popup-content .close-btn:hover {
  color: #ff3333;
  background: transparent;
  transform: none;
}

/* --- TITLE --- */
#popupTitle {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  color: #1a1a1a;
  margin-bottom: 25px;
  font-weight: 600;
}

/* --- FORM STYLING --- */
#serviceForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#serviceForm input,
#serviceForm select {
  width: 100%;
  padding: 14px;
  border: 2px solid #e1e1e1;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

#serviceForm input:focus,
#serviceForm select:focus {
  border-color: #00c6ff;
  box-shadow: 0 0 8px rgba(0, 198, 255, 0.2);
}

/* --- SUBMIT BUTTON --- */
.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%);
  color: white;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s;
  margin-top: 10px;
}

.submit-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

/* --- THANK YOU MESSAGE --- */
.thank-you-message {
  display: none;
  font-size: 18px;
  color: #2e7d32;
  background-color: #e8f5e9;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #c8e6c9;
  font-weight: 500;
  margin-top: 15px;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.contact-popup{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.7);
    z-index:9999;
    justify-content:center;
    align-items:center;
}

.contact-content{
    background:#fff;
    width:450px;
    max-width:90%;
    padding:25px;
    border-radius:10px;
    position:relative;
}

.close-contact{
    position:absolute;
    right:15px;
    top:10px;
    font-size:30px;
    cursor:pointer;
}

.contact-content h2{
    text-align:center;
    margin-bottom:20px;
}

.contact-content input,
.contact-content textarea{
    width:100%;
    padding:12px;
    margin-bottom:12px;
    border:1px solid #ccc;
    border-radius:5px;
    box-sizing:border-box;
}

.contact-content button{
    width:100%;
    padding:12px;
    background:#007bff;
    color:#fff;
    border:none;
    border-radius:5px;
    cursor:pointer;
}

.contact-content button:hover{
    background:#0056b3;
}

.about{
    padding:80px 20px;
    background:linear-gradient(135deg,#0f172a,#1e293b);
    color:#fff;
}

.about-container{
    display:flex;
    align-items:center;
    gap:40px;
    justify-content:center;
    max-width:1100px;
    margin:auto;
    flex-wrap:wrap;
}
/* IMAGE */
.about-image{
    flex:1;
    display:flex;
    justify-content:center;
}


.about-image img{
    width:100%;
    max-width:450px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.4);
}

.about-content{
    flex:1;
    min-width:280px;
}

.about-content h2{
    font-size:32px;
    margin-bottom:15px;
    color:#38bdf8;
}

.about-content p{
    font-size:16px;
    line-height:1.7;
    opacity:0.9;
}

.about-cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:15px;
    margin-top:25px;
}

.card{
    background:rgba(255,255,255,0.08);
    padding:15px;
    border-radius:10px;
    backdrop-filter:blur(8px);
    transition:0.3s;
    border:1px solid rgba(255,255,255,0.1);
}

.card:hover{
    transform:translateY(-5px);
}

.card h3{
    margin-bottom:8px;
    font-size:16px;
    color:#facc15;
}

.card p{
    font-size:13px;
    opacity:0.85;
}
/* 📱 MOBILE RESPONSIVE */
@media (max-width:768px){

    .about{
        padding:50px 15px;
        text-align:center;
    }

    .about-container{
        flex-direction:column; /* stack image + text */
    }

    .about-content h2{
        font-size:24px;
    }

    .about-content p{
        font-size:14px;
    }

    .about-image img{
        max-width:100%;
    }
}
.cta{
    padding:80px 20px;
    background:linear-gradient(135deg,#0f172a,#111827);
    color:#fff;
    text-align:center;
}

.cta-container{
    max-width:800px;
    margin:auto;
}

.cta h1{
    font-size:36px;
    margin-bottom:15px;
    color:#38bdf8;
}

.cta p{
    font-size:16px;
    opacity:0.85;
    margin-bottom:30px;
    line-height:1.6;
}

/* BUTTON AREA */
.cta-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

/* BUTTON STYLE */
.cta-btn{
    padding:12px 25px;
    border:none;
    border-radius:8px;
    font-size:16px;
    cursor:pointer;
    transition:0.3s;
}

/* PRIMARY BUTTON */
.cta-btn.primary{
    background:#38bdf8;
    color:#000;
}

.cta-btn.primary:hover{
    background:#0ea5e9;
    transform:translateY(-3px);
}

/* SECONDARY BUTTON */
.cta-btn.secondary{
    background:transparent;
    border:2px solid #38bdf8;
    color:#38bdf8;
}

.cta-btn.secondary:hover{
    background:#38bdf8;
    color:#000;
    transform:translateY(-3px);
}

/* 📱 MOBILE */
@media (max-width:768px){
    .cta h1{
        font-size:24px;
    }

    .cta p{
        font-size:14px;
    }

    .cta-btn{
        width:100%;
        max-width:250px;
    }
}